﻿<?xml version="1.0" encoding="utf-8"?>
<EmailBotConfig>
  <AppGeneralConfig>
    <kickoffInterval> 12    </kickoffInterval>
    <debugPort>       40000 </debugPort>
    <FetcherBinay type="RedfinFetcher" DLL="C:\ExperimentCode\CodePlex\Source\CrawlPro\Plugins\RedfinCrawlPro\bin\Debug\RedfinCrawlPro.DLL"> </FetcherBinay>
    <FetcherBinay type="GmailFetcher" DLL="C:\ExperimentCode\CodePlex\Source\CrawlPro\Plugins\GmailFetcher\bin\Debug\GmailFetcher.DLL"> </FetcherBinay>
    
  </AppGeneralConfig>

  <Fetchers>

    <FetcherRecord name="Redmond"  type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <CityName> Redmond,WA </CityName>
      <GeoPolygon>
        <geoPoint lat="43" long="51"> </geoPoint>
        <geoPoint lat="43" long="51"> </geoPoint>
      </GeoPolygon>
    </FetcherRecord>
    <FetcherRecord name="Bellevue" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <CityName> "Bellevue,WA" </CityName>
      <GeoPolygon>
        <geoPoint lat="43" long="51"> </geoPoint>
        <geoPoint lat="43" long="51"> </geoPoint>
      </GeoPolygon>

    </FetcherRecord>
    <FetcherRecord name="MyGeoPoly1" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <GeoPolygon>
        <geoPoint lat="47.60383" long="-122.32232"> </geoPoint>
        <geoPoint lat="47.60383" long="-122.28763"> </geoPoint>
        <geoPoint lat="47.60829" long="-122.28763"> </geoPoint>
        <geoPoint lat="47.60829" long="-122.32232"> </geoPoint>
        <geoPoint lat="47.60383" long="-122.32232"> </geoPoint>
      </GeoPolygon>
    </FetcherRecord>


    <FetcherRecord  name="GmailCouponCrawl" type="GmailFetcher" host="imap.gmail.com" user="receipts.green@gmail.com"  Folder="INBOX" emailType="IMAP" active="true" passwd="JamesBond" >  </FetcherRecord>
    
    
  </Fetchers>

  <Processors>
    <processor name="MyFirstProcessor0" active="true" DLL="C:\Experiments\CodePlex\Source\CrawlPro\RedfinCrawlPro\bin\Debug\RedfinCrawlPro.DLL" >
      <processorConfigurationFile> cfgFileName </processorConfigurationFile>
      <FetcherAssociation>  Redmond,Bellevue,MyGeoPoly1 </FetcherAssociation>
    </processor>


    <processor name="CouponProcessor" active="true" DLL="C:\ExperimentCode\CodePlex\Source\CrawlPro\Plugins\GmailFetcher\bin\Debug\GmailFetcher.DLL" >
      <processorConfigurationFile> cfgFileName </processorConfigurationFile>
      <FetcherAssociation>  GmailCouponCrawl </FetcherAssociation>
    </processor>
    
    
    
  </Processors>


</EmailBotConfig>